<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <title>万信管理后台</title>
    <%@ include file="/commons/meta.jsp"%>
    <link href="${ctx}/resources/admin/css/base.css" rel="stylesheet">
      <link href="${ctx}/resources/admin/css/jqpagination.css" rel="stylesheet">
    <link href="${ctx}/resources/admin/css/zTreeStyle.css" rel="stylesheet">
    <link type="text/css" href="${ctx}/resources/artDialog/skins/black.css" rel="stylesheet" />
</head>
<body>
<div id="loading" class="loading" >加载中…</div>
<div id="shade-div" class="shade-div hide"></div>
<%@ include file="/jsps/admin/inc/header.jsp"%>
<%@ include file="/jsps/admin/inc/menu.jsp"%>

<div id="main">
<div id="content" class="orgStr">
    <div class="hd">
        <span>固定群组管理>网信项目</span>
    </div>
    <div class="tab-box">
        <ul>
            <li class="cur"><a href="#">群组信息</a></li>
            <li><a href="#">群组公告</a></li>
        </ul>
    </div>
     <form action="../userconfig/group_management!listInfo.xhtml?groupid=${groupid}" method="post"  name="form1">
    <div class="search-box" style="margin-top: -5px">
        <h3 style="display: inline-block;">${groupinfoRegular.groupname}</h3>
        <input id="groupid" value="${groupinfoRegular.groupid}" type="hidden"/>
       
        <a href="javascript:;" class="reName" style="color: #106da6;margin: 0 10px;">重命名</a>
        <span class="fr">创建于${groupinfoRegular.updateTime}</span>
        <span class="fr" style="margin-right: 20px;" >共${pager.totalCount}人</span>
    </div>
    <div class="search-box" style="margin-top: -5px">
            <input type="text" class="itext gray" value="输入姓名、工号等进行查询" id="findGroup" name="uname" >
            <button class="btn blue-btn" type="submit">查 询</button>
       <a href="javascript:;" class="btn blue-btn fr" id="newAdds">新增成员</a>
    </div>
    <table class="table-list">
       <tr>
           <th style="text-align: left"><input type="checkbox" id="inputItem1"> <a href="javascript:;" class="signOut">全部移除</a></th>
           <th></th>
           <th></th>
           <th>
               
                <select  name="pageSize" onchange="javascript:document.form1.submit();">
                <option  value="10"  <s:if test="pageSize==10">selected</s:if>>显示10行</option>
                <option value="20" <s:if test="pageSize==20">selected</s:if>>显示20行</option>
                <option value="50" <s:if test="pageSize==50">selected</s:if>>显示50行</option>
            </select>
               
           </th>
       </tr>
         <s:iterator value="pager.result" status="i" var="ss">
        <tr>
            <td style="text-align: left"><input type="checkbox" class="inputItem1" name="userCheck" value="<s:property value="userid" />"> ${userInfo.name}
             <s:if test="isadmin==1"><em class="red">（管理员）</em></s:if></td>
            <td> <s:if test="userInfo.sex==0">女</s:if><s:elseif test="userInfo.sex==1">男</s:elseif></td>
            <td><!-- 研发中心/网信项目组/UE设计 --> ${userInfo.userCode}</td>
            <td><!--  <a href="javascript:;" class="cancel">取消管理员</a>-->
         <a href="javascript:qy(<s:property value="groupid" />,<s:property value="isadmin" />,<s:property value="userid" />);"  id="ss<s:property value="userid" />" class="cancellation"><s:if test="isadmin==0">已禁用管理员</s:if><s:elseif test="isadmin==1">已启用管理员</s:elseif></a>
            &nbsp;&nbsp;&nbsp;<a href="javascript:;" class="remove" title="${groupid}_${userid}">移出该群</a></td>
        </tr>
      </s:iterator>
    </table>
    </form>
      <s:if test="pager.totalCount > 0">
			<jsp:include page="/jsps/admin/inc/pager.jsp">
				<jsp:param name="pageUrl" value="${ctx}/log/system_log!list.xhtml" />
			</jsp:include>
		</s:if>
		<s:else>
			<div class="pages" align="center">没有找到任何记录!</div>
		</s:else>
</div>
</div>
<%@ include file="/jsps/admin/inc/footer.jsp"%>

<!---选择用户
<div class="popbox w560" id="addUser" >
    <div class="popbox-hd">
        <h2>选择用户</h2>
        <a href="javascript:;" title="关闭" class="closePopBtn"></a>
    </div>
    <div class="popbox-bd clearfix">
        <div class="clearfix" style="position: relative;padding: 10px 0">
            <div class="left_info">
                <p class="center">组织框架</p>
                   <div class="zTreeDemoBackground" style="border: 1px solid #ccc;height: 400px;width:300px;overflow: auto;">
                    <ul id="treeDemo" class="ztree">
                    </ul>
                </div>
            </div>
           
        </div>
    </div>
    <div class="popbox-ft">
        <a href="javascript:;" class="btn blue-btn"  id="btnOk">确定</a><a href="javascript:;" class="btn gray-btn cancelBtn">取消</a>
    </div>
</div>
---->
<!--新增账户-->
<div class="popbox w800" id="personnelSelection" style="display: none;">
    <div class="popbox-hd">
        <h2>人员选择</h2>
        <a href="javascript:;" title="关闭" class="closePopBtn"></a>
    </div>
    <div class="popbox-bd">
        <div class="selectionTop">
            <form action="" method="">
            <ul class="searchSelection">
                <li class="selectionName">姓名/账号</li>
                <li class="selectionSearch"><input type="text" class="itext" id="personnelSelection_text"></li>
                <li class="selectionBtn"><button type="button" class="btn gray-btn" id="personnelSelection_search">查询</button>
                 <button type="reset" class="btn gray-btn">清空</button> </li>
            </ul>
            </form>
            <div class="zTreeDemoBackground">
                <ul id="treeDemo" class="ztree">
                </ul>
            </div>
        </div>
        <div class="selectionBot">
            <div class="selectionLeft mobile">
                <div class="pagination paginationLeft">
                    <a href="#" class="first" data-action="first">&laquo;</a>
                    <a href="#" class="previous" data-action="previous">&lsaquo;</a>
                    <input type="text" readonly="readonly" data-max-page="40" />
                    <a href="#" class="next" data-action="next">&rsaquo;</a>
                    <a href="#" class="last" data-action="last">&raquo;</a>
                </div><br>
                <div class="table-div">
                    <table class="table-list"  id="table_left">
                        <tr><td><div class="memberName">朱建1<span class="memberNum hide "><em>zhangjian1&nbsp;path1/path2</em></span></div></td><td>研发三部</td><td>主任工程师（信息系统研发）</td></tr>
                        <tr><td><div class="memberName">朱建2<span class="memberNum hide"><em>zhangjian2&nbsp;path1/path2/path3</em></span></div></td><td>研发三部</td><td>主任工程师（信息系统研发）</td></tr>
                        <tr><td><div class="memberName">朱建3<span class="memberNum hide"><em>zhangjian3&nbsp;path1/path2</em></span></div></td><td>研发三部</td><td>主任工程师（信息系统研发）</td></tr>
                        <tr><td><div class="memberName">朱建4<span class="memberNum hide"><em>zhangjian4&nbsp;path1/path2</em></span></div></td><td>研发三部</td><td>主任工程师（信息系统研发）</td></tr>
                        <tr><td><div class="memberName">朱建5<span class="memberNum hide"><em>zhangjian5&nbsp;path1/path2</em></span></div></td><td>研发三部</td><td>主任工程师（信息系统研发）</td></tr>
                        <tr><td><div class="memberName">朱建6<span class="memberNum hide"><em>zhangjian6&nbsp;path1/path2</em></span></div></td><td>研发三部</td><td>主任工程师（信息系统研发）</td></tr>
                    </table>
                </div>


            </div>
            <div class="selectionMid">
                <ul>
                    <li><button class="singleRight"></button></li>
                    <li><button class="singleLeft"></button> </li>
                    <li><button class="allRight"></button></li>
                    <li><button class="allLeft"></button></li>

                </ul>
            </div>
            <div class="selectionRight mobile">
              <!--   <div class="pagination paginationRight">
                    <a href="#" class="first" data-action="first">&laquo;</a>
                    <a href="#" class="previous" data-action="previous">&lsaquo;</a>
                    <input type="text" readonly="readonly" data-max-page="40" />
                    <a href="#" class="next" data-action="next">&rsaquo;</a>
                    <a href="#" class="last" data-action="last">&raquo;</a>
                </div><br> -->
                <div class="table-div">
                    <table class="table-list" id="table_right">

                    </table>
                </div>

            </div>
        </div>

    </div>
    <div class="popbox-ft">
        <a href="javascript:;" class="btn blue-btn" id="pushData">确定</a><a href="javascript:;" class="btn gray-btn cancelBtn">取消</a>
    </div>
</div>
<!--重命名-->
<div class="popbox w540" id="reName" >
    <div class="popbox-hd">
        <h2>群组重命名</h2>
        <a href="javascript:;" title="关闭" class="closePopBtn"></a>
    </div>
    <div class="popbox-bd clearfix">
        <p><label>群组名称：</label><input type="text" class="itext" id="groupname" style="width: 350px" value="${groupinfoRegular.groupname}" ></p>
        <p><label>群组描述：</label><input type="text" class="itext" id="description" style="width: 350px" value="${groupinfoRegular.description}" ></p>
    </div>
    <div class="popbox-ft">
        <a href="javascript:;" class="btn blue-btn"  id="cmmBtn">确定</a><a href="javascript:;" class="btn gray-btn cancelBtn">取消</a>
    </div>
</div>
<!--警告框-->
<div class="popbox w300" id="warning" >
    <div class="popbox-hd">
        <h2>警告</h2>
        <a href="javascript:;" title="关闭" class="closePopBtn"></a>
    </div>
    <div class="popbox-bd">
        <p class="center"></p>
    </div>
    <div class="popbox-ft">
        <a href="javascript:deletenp();" class="btn blue-btn">确定</a><a href="javascript:;" class="btn gray-btn cancelBtn">取消</a>
    </div>
</div>

<!--警告框-->
<div class="popbox w300" id="warning8" >
    <div class="popbox-hd">
        <h2>警告</h2>
        <a href="javascript:;" title="关闭" class="closePopBtn"></a>
    </div>
    <div class="popbox-bd">
        <p class="center"></p>
    </div>
    <div class="popbox-ft">
        <a href="javascript:deleteALL();" class="btn blue-btn">确定</a><a href="javascript:;" class="btn gray-btn cancelBtn">取消</a>
    </div>
</div>

<!--警告框-->
<div class="popbox w300" id="warning3" >
    <div class="popbox-hd">
        <h2>警告</h2>
        <a href="javascript:;" title="关闭" class="closePopBtn"></a>
        <input type="hidden" id="upId"/>
    </div>
    <div class="popbox-bd">
        <p class="center"></p>
    </div>
    <div class="popbox-ft">
        <a href="javascript:qyok();"  class="btn blue-btn">确定</a><a href="javascript:;" class="btn gray-btn cancelBtn">取消</a>
    </div>
</div>

<script src="${ctx}/resources/admin/js/lib/jquery-1.8.0.min.js"></script>
<script src="${ctx}/resources/admin/js/lib/jquery.jqpagination.min.js"></script>
<script src="${ctx}/resources/admin/js/lib/jquery.ztree.core-3.1.min.js"></script>
<script src="${ctx}/resources/admin/js/lib/jquery.ztree.excheck-3.1.min.js"></script>
<script src="${ctx}/resources/admin/js/lib/jquery.ztree.exedit-3.1.min.js"></script>
<script src="${ctx}/resources/admin/js/common.js"></script>
<script src="${ctx}/resources/admin/js/lib/jquery-ui.js"></script>
<script src="${ctx}/resources/admin/js/userConfigurationData/networkProject.js"></script>
<script src="${ctx}/resources/admin/js/lib/ztree.js"></script>
<script type="text/javascript" src="${ctx}/resources/artDialog/jquery.artDialog.js?skin=blue"></script>
</body>
<script type="text/javascript">
$(function(){
	common.menuClicked('P3', 'C6');
});
</script>
</html>